package com.hfut.eeg.common.eegParse;

import java.util.ArrayList;

/**
 * @author 梁琦
 * @program: eeg
 * @Package com.hfut.eeg.common.eegParse
 * @Description: TODO
 * @date 2019-11-19 17:29
 */
public class Hdr {

    private Integer fs;//刷新频率

    private Integer nChans;//通道数量

    private ArrayList<String> label;//标签数组

    private Long nSamples;//数据量

    private Integer nSamplesPre;

    private Integer nTrials;

    private NkEEG orig;

    public Hdr(Integer fs, Integer nChans, ArrayList<String> label,
               Long nSamples, Integer nSamplesPre, Integer nTrials, NkEEG orig) {
        this.fs = fs;
        this.nChans = nChans;
        this.label = label;
        this.nSamples = nSamples;
        this.nSamplesPre = nSamplesPre;
        this.nTrials = nTrials;
        this.orig = orig;
    }

    public Hdr() {
    }

    public Integer getFs() {
        return fs;
    }

    public void setFs(Integer fs) {
        this.fs = fs;
    }

    public Integer getnChans() {
        return nChans;
    }

    public void setnChans(Integer nChans) {
        this.nChans = nChans;
    }

    public ArrayList<String> getLabel() {
        return label;
    }

    public void setLabel(ArrayList<String> label) {
        this.label = label;
    }

    public Long getnSamples() {
        return nSamples;
    }

    public void setnSamples(Long nSamples) {
        this.nSamples = nSamples;
    }

    public Integer getnSamplesPre() {
        return nSamplesPre;
    }

    public void setnSamplesPre(Integer nSamplesPre) {
        this.nSamplesPre = nSamplesPre;
    }

    public Integer getnTrials() {
        return nTrials;
    }

    public void setnTrials(Integer nTrials) {
        this.nTrials = nTrials;
    }

    public NkEEG getOrig() {
        return orig;
    }

    public void setOrig(NkEEG orig) {
        this.orig = orig;
    }

    @Override
    public String toString() {
        return "Hdr{" +
                "fs=" + fs +
                ", nChans=" + nChans +
                ", label=" + label +
                ", nSamples=" + nSamples +
                ", nSamplesPre=" + nSamplesPre +
                ", nTrials=" + nTrials +
                ", orig=" + orig +
                '}';
    }
}
